/* 关于作者的框 */
.red-about-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-modifier-cover);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* 弹框主体 */
.red-about-modal {
    background: var(--background-primary);
    border-radius: 12px;
    padding: 20px 20px;
    width: 520px;
    max-height: 90vh;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
}

/* 自定义滚动条样式 */
.red-about-modal::-webkit-scrollbar {
    width: 8px;
}

.red-about-modal::-webkit-scrollbar-track {
    background: var(--background-primary-alt);
    border-radius: 4px;
}

.red-about-modal::-webkit-scrollbar-thumb {
    background: var(--background-modifier-border);
    border-radius: 4px;
}

.red-about-modal::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* 关闭按钮 */
.red-about-close {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    border-radius: 6px;
    font-size: 17px;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

/* macOS 系统下的样式 */
@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-color-index:0) {
    .red-about-close {
        right: auto;
        left: 7px;
    }
}

.red-about-close:hover {
    background: var(--background-primary-alt);
    color: var(--text-normal);
}

/* 内容区块 */
.red-about-section {
    padding: 10px;
    margin: 8px 20px 0 20px;
    border-radius: 8px;
}

.red-about-intro-section {
    background: #fafafa;
    border: 1px solid #f0f0f0;
}

.red-about-donate-section {
    background: #fff9f5;
    border: 1px solid #ffe4d9;
}

.red-about-mp-section {
    background: #f5fff7;
    border: 1px solid #e6f7e9;
}

/* 文字样式 */
.red-about-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-normal);
    margin: 0 0 1px;
    text-align: center;
    letter-spacing: 0.5px;
}

.red-about-name {
    color: var(--text-accent);
    font-weight: 600;
    font-size: 16px;
    padding: 0 2px;
}

.red-about-identity {
    color: var(--text-normal);
    font-weight: 500;
    background: var(--background-primary-alt);
    padding: 0 4px;
    border-radius: 3px;
}

.red-about-highlight {
    color: var(--text-accent);
    font-weight: 500;
}

.red-about-value {
    color: var(--text-accent);
    font-weight: 500;
}

.red-about-subtitle {
    font-size: 18px;
    color: var(--text-accent);
    margin: 8px 0 12px;
    letter-spacing: 0.3px;
    font-weight: 600;
}

.red-about-intro {
    font-size: 15px;
    color: var(--text-normal);
    margin: 8px 0;
    line-height: 1.8;
    letter-spacing: 0.2px;
}

.red-about-role, 
.red-about-desc {
    font-size: 14.5px;
    color: var(--text-muted);
    margin: 6px 0;
    line-height: 1.8;
    letter-spacing: 0.2px;
}

.red-about-emphasis {
    font-weight: 500;
    color: var(--text-error);
}

.red-about-footer {
    font-size: 15px;
    color: var(--text-normal);
    text-align: center;
    margin: 1px 0 0;
    padding: 1px 1px;
    background: var(--background-primary-alt);
    border-radius: 8px;
    font-weight: 500;
    letter-spacing: 0.3px;
    line-height: 1.6;
}

.red-about-footer strong {
    color: var(--text-accent);
    font-weight: 600;
}

/* 二维码容器 */
.red-about-qr {
    width: 100%;
    height: 150px;
    margin: 5px 0;
    padding: 5px;
    background: var(--background-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.red-about-qr img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}